package com.hxt.xt.service.z.rule;

import javax.annotation.Resource;

import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Component;

import com.hxt.framework.mybatis.IMyBatisDao;
import com.hxt.util.RedisUtils;
import com.hxt.xt.dao.TDealerDao;
import com.hxt.xt.dao.TDealerOutRecordDao;
import com.hxt.xt.dao.TImportRecordDao;
import com.hxt.xt.dao.TInvoiceDao;
import com.hxt.xt.dao.TInvoiceFileDao;
import com.hxt.xt.dao.TTokenDao;
import com.hxt.xt.dao.TUserDao;
import com.hxt.xt.dao.TXlsxModelDao;
import com.hxt.xt.dao.impl.ExceptionLogDao;

@Component("com.hxt.xt.service.z.rule.BaseRule")
public class BaseRule {

	// @Resource
	// public CommonService commonService;

	/* 数据库的dao */
	@Resource(name = "myBatisDao_xt")
	public IMyBatisDao iMyBatisDao;

	// /*mongo 管理器*/
	@Resource
	public MongoTemplate mongoTemplate;

	@Resource
	public ExceptionLogDao exceptionLogDao;

	@Resource
	public TUserDao userDao;

	@Resource
	public TTokenDao tokenDao;

	@Resource
	public TDealerDao dealerDao;

	@Resource
	public TImportRecordDao impRecordDao;

	@Resource
	public TInvoiceDao tInvoiceDao;

	@Resource
	public TInvoiceFileDao tInvoiceFileDao;

	@Resource
	public TDealerOutRecordDao tDealerOutRecordDao;

	@Resource
	public TXlsxModelDao tXlsxModelDao;

	/* 所有的rule 在这里 */
	@Resource
	public CommonRule commonRule;

	@Resource
	public StorageRule storageRule;

	@Resource
	public RedisUtils redisUtils;

//	@Resource
//	public ProductRepository productRepository;

}
